package diShiSanZhou;

import java.util.ConcurrentModificationException;
import java.util.function.Consumer;

public class Test {
    public static void main(String[] args) {
        Factory factory = new Factory();
        Productor productor = new Productor(factory);
        Custom custom = new Custom(factory);
        new Thread(productor).start();
        new Thread(custom).start();

    }
}
